const uesrRouter = require('./user.js')
const noteRouter = require('./note.js')

function useRouter(app) {
    app.use(uesrRouter.routes(), uesrRouter.allowedMethods())
    app.use(noteRouter.routes(), noteRouter.allowedMethods())
}

module.exports = useRouter